package com.hall.dao;

import com.hall.pojo.CommentData;
import com.hall.pojo.CommentReplay;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface CommentReplayMapper {
    int insert(CommentReplay commentReplay);
    int update(CommentReplay commentReplay);
    int delete(CommentReplay commentReplay);
    CommentData get(CommentReplay commentReplay);//获取单条数据
    List<CommentReplay> findList(CommentReplay commentReplay);//查询所有数据
}
